package com.wsc.indexer;

//This Interface Contains common operation of Indexer, 
//that are performed while interacting with crawler.  

public interface IndexerOperations {

	
	String OPERATION ="operation" ;
	// this operation is used to check the visited ness of a url.
	
	String O_VSTATUS = "vstatus";   //edit: this parameter is set true or false. 
	
	// This operation is used to notify indexer to index a url,
	// means make a url visited.
	
	String O_INDEX = "index" ; //edit: values of this param are : true or false.
	

	String O_URL = "url";
	
	//this parameter is used to notify the indexer that, index a url in perticular index.
	// There would be multiple indexes like.
	// ex: 200 ok index,
	// ex: 4XX Index.
	// ex: 3XX index.
	
	String O_STATUS_CODE = "status_code";  // The index name.
	 
	// If this request is made by client then stop the Indexer server.
	
	String STOP_INDEXER="stop";

	String START_INDEXER = "start";	
}
